<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<link rel="stylesheet" href="/as/css/layout.css" />
<link href="/as/res/css/bootstrap.min.css" rel="stylesheet">
<link href="/as/res/metisMenu/metisMenu.min.css" rel="stylesheet">
<link href="/as/res/jquery/jquery.dataTables.min.css" rel="stylesheet">
<link href="/as/res/jquery/dataTables.bootstrap.min.css" rel="stylesheet">
<link href="/as/res/jquery/jquery-confirm.min.css" rel="stylesheet">
<link href="/as/res/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
      
<script src="/as/res/jquery/jquery-3.2.1.min.js"></script>
<script src="/as/res/js/bootstrap.min.js"></script>
<script src="/as/res/metisMenu/metisMenu.min.js"></script>
<script src="/as/res/js/base.js"></script>
<script src="/as/res/jquery/jquery.dataTables.min.js"></script>
<script src="/as/res/jquery/dataTables.bootstrap.min.js"></script>
<script src="/as/res/jquery/jquery-confirm.min.js"></script>
<script type="text/javascript">
var pnodes = ${empty pnodes ? "[]" : pnodes};
$(function() {
	base.privilege();
});
</script>
<div id="alertMsg" class="alert alert-success" style="left:0;right:0; margin:auto; width:360px; position:fixed;z-index:99999;display:none;">
    <button type="button" class="close" onclick="javascript:$('#alertMsg').slideUp();">&times;</button>
    <label></label>
</div>
<!-- Navigation -->
<div class="navbar navbar-default navbar-static-top active" role="navigation" style="margin-bottom: 0">
	<div class="navbar-header">
              <a class="logo" href="/sba/"><img src="/as/images/sb-pc-logo.png"></a>
          </div>
          <ul class="nav navbar-top-links navbar-right">
              <li><span>欢迎您，管理员${sys_user }</span></li>
              <li><a href="/sba/logout"><i class="glyphicon glyphicon-off" aria-hidden="true"></i>退出</a></li>
          </ul>
          <!-- left nav -->
          <div class="navbar-default sidebar" role="navigation"  id="sidebar">
          	<div class="sidebar-nav navbar-collapse">
          		<ul class="nav" id="side-menu">
                     <li>
                          <a href="/sba/main"><i class="glyphicon glyphicon-home" ></i>pinpin社保后台</a>
                     </li>
          			<c:forEach items="${user_menu_session }" var="menu">
						<li><a href="#"><i class="glyphicon glyphicon-plus-sign" aria-hidden="true"></i>${menu.desc }</a>
							<ul class="nav nav-second-level collapse" aria-expanded="false">
								<c:forEach items="${menu.moduleList }" var="ml">
		                        <li>
		                            <a href="${ml.uri }">${ml.desc}</a>
		                        </li>
		                        </c:forEach>
                            </ul>
						</li>
					</c:forEach>
          		</ul>
          	</div>
          </div>
</div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<div  class="switch" id="switch" status="1">关闭菜单</div>